﻿<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form">
            <div class="layui-form-item">
                <div class="layui-form-item layui-inline">
                    <label class="layui-form-label">图书室</label>
                    <div class="layui-input-inline">
                        @Html.DropDownList("LibraryId",ViewBag.SelectLibrary as IEnumerable<SelectListItem>)
                    </div>
                </div>
                <div class="layui-form-item layui-inline">
                    <label class="layui-form-label">书架号</label>
                    <div class="layui-input-inline">
                        <input type="text" id="shelfName" placeholder="请输入书架号" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item layui-inline">
                    <a class="pear-btn pear-btn-md pear-btn-primary" id="search">
                        <i class="layui-icon layui-icon-search"></i>
                        查询
                    </a>
                    <button type="reset" class="pear-btn pear-btn-md">
                        <i class="layui-icon layui-icon-refresh"></i>
                        重置
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>

<div class="layui-card">
    <div class="layui-card-body">
        <table id="dataTable" lay-filter="dataTable"></table>
    </div>
</div>

<div class="layui-hide">
    <div class="layer-close-mask drawer">
        <i class="iconfont icon-close3" id="btnClose"></i>
        <div class="layui-row layui-col-space15 mt-10">
            <div class="layui-col-md5">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <div style="overflow: auto">
                            <ul id="tree" class="dtree"></ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md7">
                <div class="layui-card">
                    <div class="layui-input-block ml-20">
                        <button class="pear-btn pear-btn-primary" id="submit">立即提交</button>
                    </div>
                    <div class="layui-card-body tag" id="selectCls" lay-filter="selectCls" lay-allowclose="true">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<script type="text/html" id="toolbar">
    <button class="pear-btn pear-btn-primary pear-btn-md" lay-event="add">
        <i class="layui-icon layui-icon-add-1"></i>
        新增
    </button>
</script>
<script type="text/html" id="rowbar">
     <a title="分类设置" class="pear-btn pear-btn-primary pear-btn-md" lay-event="clsSet">
        <i class="iconfont icon-cls"></i>
    </a>
    <a title="编辑" class="pear-btn pear-btn-primary pear-btn-md" lay-event="edit">
        <i class="layui-icon layui-icon-edit"></i>
    </a>
      <a title="删除" class="pear-btn pear-btn-danger pear-btn-md" lay-event="remove">
        <i class="layui-icon layui-icon-delete"></i>
    </a>
</script>